<?php
namespace API\Controller;
use Think\Controller;
class ClubController extends Controller {

	//查看俱乐部信息接口
    public function getClubById(){

        $cl_id = $_GET['cl_id'];

        $clubs = M('clubs');
        $data = $clubs -> where("cl_id='$cl_id'")-> select();
        echo json_encode($data);
         echo "<br>";

    }

}
?>